package kr.hkit.powerjava.chapter08.work;

class Date{
	private int year;
	private int month;
	private int day;
	
	private Time time1;
	
	public Date(int year, int month, int day){
		setDate(year, month, day);
	}
	
	public void getDate(){
		
	}
	
	public void setDate(int year, int month, int day){
		this.year = year;
		this.month = month;
		this.day = day;
	}



	@Override
	public String toString() {
		return "Date [year=" + year + ", month=" + month + ", day=" + day + "]";
	}
	
	
		
	
	
}
